Pagini recente » Borderou de evaluare (job #3141801) | Borderou de evaluare (job #2312927) | Borderou de evaluare (job #1869930) | Borderou de evaluare (job #228131) | Borderou de evaluare (job #1433897)
Borderou de evaluare (job #1433897)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[20]’ [-Wformat=]
scanf("%s",&s);
^
user.cpp:19:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&p);
^
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratphu.in","r",stdin);
^
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratphu.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("%s",&s);
^
user.cpp:19:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&p);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 10 |
| 2 | 0ms | 268kb | OK | 10 |
| 3 | 0ms | 304kb | OK | 10 |
| 4 | 0ms | 424kb | OK | 10 |
| 5 | 16ms | 896kb | OK | 10 |
| 6 | 104ms | 2820kb | OK | 10 |
| 7 | 256ms | 5376kb | OK | 10 |
| 8 | 552ms | 10500kb | OK | 10 |
| 9 | Depăşit | 20724kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 20720kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |