Pagini recente » Borderou de evaluare (job #1643552) | Borderou de evaluare (job #107992) | Borderou de evaluare (job #2924372) | Borderou de evaluare (job #781017) | Borderou de evaluare (job #1285394)
Borderou de evaluare (job #1285394)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:19: warning: format ‘%li’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%li",&n);
^
user.cpp:10:19: warning: format ‘%li’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%li",&s);
^
user.cpp:19:24: warning: format ‘%li’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%li ",i);
^
user.cpp:21:27: warning: format ‘%li’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%li ",i+1);
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("noname3.in","r",stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("noname3.out","w",stdout);
^
user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%li",&n);
^
user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%li",&s);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 0ms | 440kb | OK | 10 | 10 |
✗ | 2 | 0ms | 436kb | OK | 10 | 10 |
✗ | 3 | 0ms | 432kb | OK | 10 | 10 |
✗ | 4 | 0ms | 436kb | OK | 10 | 10 |
✗ | 5 | 0ms | 436kb | Incorect | 0 | 0 |
✓ | 6 | 0ms | 436kb | Incorect | 0 | 0 |
✗ | 7 | 0ms | 436kb | Incorect | 0 |
✗ | 8 | 0ms | 432kb | Incorect | 0 |
✗ | 9 | 0ms | 436kb | OK | 10 | 10 |
✓ | 10 | 0ms | 416kb | OK | 10 | 10 |
Punctaj total | 60 |