Pagini recente » Borderou de evaluare (job #1072725) | Borderou de evaluare (job #1934845) | Borderou de evaluare (job #2578014) | Borderou de evaluare (job #2808955) | Borderou de evaluare (job #2257523)
Borderou de evaluare (job #2257523)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d %d %d",&n,&m,&x,&y);
^
user.cpp:12:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:12:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:12:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:15:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d",&p1,&p2);
^
user.cpp:15:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:41:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<nod[pos].size();i++)
~^~~~~~~~~~~~~~~~
user.cpp:50:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<j.size();i++)
~^~~~~~~~~
user.cpp:58:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<r.size();i++)
~^~~~~~~~~
user.cpp:10:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.in","r",stdin);
^
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.out","w",stdout);
^
user.cpp:12:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&n,&m,&x,&y);
^
user.cpp:15:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&p1,&p2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1412kb | Incorect | 0 |
2 | 0ms | 1408kb | Incorect | 0 |
3 | 0ms | 1412kb | Incorect | 0 |
4 | 0ms | 1412kb | Incorect | 0 |
5 | 0ms | 1412kb | Incorect | 0 |
6 | 0ms | 1408kb | Incorect | 0 |
7 | 0ms | 1412kb | Incorect | 0 |
8 | 0ms | 1412kb | Incorect | 0 |
9 | 0ms | 1412kb | Incorect | 0 |
10 | 0ms | 1412kb | Incorect | 0 |
Punctaj total | 0 |