Pagini recente » Borderou de evaluare (job #810656) | Borderou de evaluare (job #1561152) | Borderou de evaluare (job #2758662) | Borderou de evaluare (job #2180134) | Borderou de evaluare (job #1287004)
Borderou de evaluare (job #1287004)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:10:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld",&n,&p);
^
user.cpp:10:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:12:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&v[i]);
^
user.cpp: In function ‘void rezolvare()’:
user.cpp:38:27: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",rez);
^
user.cpp: In function ‘void citire()’:
user.cpp:10:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&p);
^
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:43:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.in","r",stdin);
^
user.cpp:44:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.out","w",stdout);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✗ | 1 | 0ms | 268kb | OK | 10 | 20 |
✓ | 2 | 0ms | 252kb | OK | 10 |
✗ | 3 | 0ms | 236kb | OK | 10 | 20 |
✗ | 4 | 0ms | 252kb | OK | 10 |
✓ | 5 | 24ms | 580kb | OK | 10 | 20 |
✗ | 6 | 28ms | 564kb | OK | 10 |
✗ | 7 | 240ms | 3072kb | OK | 10 | 40 |
✓ | 8 | 228ms | 3068kb | OK | 10 |
✗ | 9 | 232ms | 3072kb | OK | 10 |
✗ | 10 | 480ms | 3048kb | OK | 10 |
Punctaj total | 100 |