Pagini recente » Borderou de evaluare (job #2391047) | Borderou de evaluare (job #112365) | Borderou de evaluare (job #2909195) | Borderou de evaluare (job #2911820) | Borderou de evaluare (job #2257878)
Borderou de evaluare (job #2257878)
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:43:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<nod[pos].size();i++)
~^~~~~~~~~~~~~~~~
user.cpp:53:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<ans.size();j++)
~^~~~~~~~~~~
user.cpp:56:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<el.size();i++)
~^~~~~~~~~~
user.cpp:65: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 | 1408kb | Incorect | 0 |
2 | 0ms | 1412kb | Incorect | 0 |
3 | 0ms | 1412kb | Incorect | 0 |
4 | 0ms | 1408kb | Incorect | 0 |
5 | 0ms | 1412kb | Incorect | 0 |
6 | 0ms | 1412kb | Incorect | 0 |
7 | 0ms | 1412kb | Incorect | 0 |
8 | 0ms | 1412kb | Incorect | 0 |
9 | 0ms | 1408kb | Incorect | 0 |
10 | 0ms | 1408kb | Incorect | 0 |
Punctaj total | 0 |