Pagini recente » Borderou de evaluare (job #68506) | Borderou de evaluare (job #67074) | Borderou de evaluare (job #307638) | Borderou de evaluare (job #1996946) | Borderou de evaluare (job #2079969)
Borderou de evaluare (job #2079969)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.in","r",stdin);
^
user.cpp:50:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out","w",stdout);
^
user.cpp:52:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&na);
^
user.cpp:55:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(txt,3005,stdin);
^
user.cpp:63:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &nb);
^
user.cpp:66:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(txt,3005,stdin);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 448kb | OK | 10 |
| 2 | 0ms | 512kb | OK | 10 |
| 3 | 0ms | 604kb | OK | 10 |
| 4 | 0ms | 1132kb | OK | 10 |
| 5 | 4ms | 1992kb | OK | 10 |
| 6 | 4ms | 2100kb | OK | 10 |
| 7 | 16ms | 5888kb | OK | 10 |
| 8 | 16ms | 6248kb | OK | 10 |
| 9 | 20ms | 6464kb | OK | 10 |
| 10 | 16ms | 6004kb | OK | 10 |
| Punctaj total | 100 |