Pagini recente » Borderou de evaluare (job #1920422) | Borderou de evaluare (job #2495328) | Borderou de evaluare (job #660010) | Borderou de evaluare (job #2953168) | Borderou de evaluare (job #2029344)
Borderou de evaluare (job #2029344)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:138:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(f,"%d", &t);
^
user.cpp:142:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[502]’ [-Wformat=]
fscanf(f,"%s", &s);
^
user.cpp:138:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d", &t);
^
user.cpp:142:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 0ms | 280kb | OK | 10 |
6 | 28ms | 276kb | OK | 10 |
7 | 148ms | 280kb | OK | 10 |
8 | 20ms | 276kb | Incorect | 0 |
9 | 144ms | 276kb | OK | 10 |
10 | 52ms | 272kb | OK | 10 |
Punctaj total | 90 |