Pagini recente » Borderou de evaluare (job #867033) | Borderou de evaluare (job #356296) | Borderou de evaluare (job #2058407) | Borderou de evaluare (job #1871082) | Borderou de evaluare (job #1377206)
Borderou de evaluare (job #1377206)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&t);
^
user.cpp:17:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&n,&m);
^
user.cpp:17:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:19:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&x,&y);
^
user.cpp:19:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:32:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0;j<v[x].size();++j)
^
user.cpp:54:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0;j<v[x].size();++j)
^
user.cpp:67:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",nr);
^
user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("amici2.in","r",stdin);
^
user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("amici2.out","w",stdout);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:17:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:19:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 628kb | Corect! | 10 |
2 | 4ms | 660kb | Corect! | 10 |
3 | 4ms | 644kb | Corect! | 10 |
4 | 20ms | 808kb | Corect! | 10 |
5 | 68ms | 1196kb | Corect! | 10 |
6 | 80ms | 1372kb | Corect! | 10 |
7 | 80ms | 1308kb | Corect! | 10 |
8 | 100ms | 1504kb | Corect! | 10 |
9 | 96ms | 1456kb | Corect! | 10 |
10 | 120ms | 1664kb | Corect! | 10 |
Punctaj total | 100 |