Pagini recente » Borderou de evaluare (job #2317107) | Borderou de evaluare (job #1419024) | Cod sursa (job #1752499) | Borderou de evaluare (job #2094251) | Borderou de evaluare (job #2510634)
Borderou de evaluare (job #2510634)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10:34: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(f,"%d%d%d%d",&t,&n,&dr,&st);
^
main.cpp:10:34: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:10:34: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'long long int*' [-Wformat=]
main.cpp:10:34: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'long long int*' [-Wformat=]
main.cpp:11:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(f,"%d",&v[1]);
^
main.cpp:17:28: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(f,"%d",&v[j]);
^
main.cpp:16:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j=1;j<=k;j++)
^~~
main.cpp:18:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i=1;i<=k;i++)
^~~
main.cpp:52:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(g,"%d",aparfinal);
^
main.cpp:10:35: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%d%d",&t,&n,&dr,&st);
^
main.cpp:11:21: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&v[1]);
^
main.cpp:17:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&v[j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 101ms | 262kb | OK | 5 |
| 3 | 228ms | 131kb | Incorect | 0 |
| 4 | 360ms | 131kb | OK | 5 |
| 5 | 3ms | 131kb | Incorect | 0 |
| 6 | 2ms | 131kb | Incorect | 0 |
| 7 | 3ms | 131kb | Incorect | 0 |
| 8 | 4ms | 131kb | Incorect | 0 |
| 9 | 46ms | 196kb | Incorect | 0 |
| 10 | 72ms | 131kb | Incorect | 0 |
| 11 | 167ms | 200kb | Incorect | 0 |
| 12 | 186ms | 196kb | Incorect | 0 |
| 13 | 181ms | 221kb | Incorect | 0 |
| 14 | 179ms | 196kb | Incorect | 0 |
| 15 | 187ms | 192kb | Incorect | 0 |
| 16 | 160ms | 131kb | Incorect | 0 |
| 17 | 203ms | 131kb | Incorect | 0 |
| 18 | 305ms | 192kb | Incorect | 0 |
| 19 | 321ms | 262kb | Incorect | 0 |
| 20 | 367ms | 196kb | Incorect | 0 |
| Punctaj total | 15 |