Pagini recente » Borderou de evaluare (job #381793) | Borderou de evaluare (job #300074) | Borderou de evaluare (job #585247) | Borderou de evaluare (job #3214705) | Borderou de evaluare (job #1261993)
Borderou de evaluare (job #1261993)
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:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
user.cpp:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",nota);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK | 10 |
2 | 0ms | 432kb | OK | 10 |
3 | 0ms | 436kb | OK | 10 |
4 | 0ms | 432kb | OK | 10 |
5 | 0ms | 436kb | OK | 10 |
6 | 0ms | 576kb | OK | 10 |
7 | 0ms | 552kb | OK | 10 |
8 | 24ms | 1940kb | OK | 10 |
9 | 20ms | 2324kb | OK | 10 |
10 | 24ms | 2004kb | OK | 10 |
Punctaj total | 100 |