Pagini recente » Borderou de evaluare (job #2919399) | Borderou de evaluare (job #1120034) | Borderou de evaluare (job #1983588) | Borderou de evaluare (job #2148789) | Borderou de evaluare (job #1232943)
Borderou de evaluare (job #1232943)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf( f, "%d%d", &N, &a );
^
user.cpp:15:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:20:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf( f, "%d", &a );
^
user.cpp:30:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf( g, "%d\n", nr );
^
user.cpp:15:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( f, "%d%d", &N, &a );
^
user.cpp:20:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( f, "%d", &a );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 232kb | Incorect | 0 |
2 | 0ms | 224kb | Incorect | 0 |
3 | 0ms | 228kb | Incorect | 0 |
4 | 0ms | 228kb | Incorect | 0 |
5 | 12ms | 228kb | Incorect | 0 |
6 | 24ms | 224kb | Incorect | 0 |
7 | 52ms | 232kb | Incorect | 0 |
8 | 120ms | 228kb | Incorect | 0 |
9 | 272ms | 240kb | Incorect | 0 |
10 | 260ms | 228kb | Incorect | 0 |
Punctaj total | 0 |