Pagini recente » Borderou de evaluare (job #3226157) | Borderou de evaluare (job #2410392) | Borderou de evaluare (job #1541076) | Borderou de evaluare (job #1541081) | Borderou de evaluare (job #1261991)
Borderou de evaluare (job #1261991)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&n,&m);
^
user.cpp:11:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:19:22: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
a[vf]=NULL;
^
user.cpp:26:9: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
a[m]=NULL;
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("trompeta.in","r",stdin);
^
user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("trompeta.out","w",stdout);
^
user.cpp:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:13:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",¬a);
^
user.cpp:16:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",¬a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 428kb | OK | 10 |
2 | 0ms | 420kb | OK | 10 |
3 | 0ms | 424kb | OK | 10 |
4 | 0ms | 424kb | OK | 10 |
5 | 0ms | 428kb | OK | 10 |
6 | 12ms | 464kb | OK | 10 |
7 | 12ms | 444kb | OK | 10 |
8 | Depăşit | 504kb | Time limit exceeded. | 0 |
9 | Depăşit | 992kb | Time limit exceeded. | 0 |
10 | Depăşit | 612kb | Time limit exceeded. | 0 |
Punctaj total | 70 |