Pagini recente » Borderou de evaluare (job #1910837) | Borderou de evaluare (job #896918) | Borderou de evaluare (job #3236172) | Borderou de evaluare (job #2144645) | Borderou de evaluare (job #1505052)
Borderou de evaluare (job #1505052)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fin,"%d%d\n",&n,&k);
^
user.cpp:14:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:14:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d\n",&n,&k);
^
user.cpp:15:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,nmax,fin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 484kb | OK | 10 |
2 | 0ms | 560kb | OK | 10 |
3 | 4ms | 860kb | OK | 10 |
4 | 8ms | 916kb | OK | 10 |
5 | 8ms | 952kb | OK | 10 |
6 | 8ms | 960kb | OK | 10 |
7 | 8ms | 952kb | Incorect | 0 |
8 | 8ms | 956kb | Incorect | 0 |
9 | 8ms | 952kb | Incorect | 0 |
10 | 8ms | 956kb | Incorect | 0 |
Punctaj total | 60 |