Pagini recente » Borderou de evaluare (job #1952813) | Borderou de evaluare (job #1333363) | Borderou de evaluare (job #1854538) | Borderou de evaluare (job #1715355) | Borderou de evaluare (job #1268401)
Borderou de evaluare (job #1268401)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:29: warning: format ‘%lu’ expects argument of type ‘long unsigned int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%lu",&a[i]);
^
user.cpp:24:26: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%lu",S);
^
user.cpp:25:28: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘long long int’ [-Wformat=]
else fprintf(g,"%lu",S2);
^
user.cpp:13:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:15:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lu",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 276kb | Incorect | 0 |
3 | 0ms | 272kb | Incorect | 0 |
4 | 0ms | 272kb | OK | 10 |
5 | 0ms | 276kb | Incorect | 0 |
6 | 0ms | 276kb | Incorect | 0 |
7 | 0ms | 284kb | OK | 10 |
8 | 0ms | 276kb | Incorect | 0 |
9 | 0ms | 284kb | Incorect | 0 |
10 | 0ms | 284kb | OK | 10 |
Punctaj total | 40 |