Pagini recente » Cod sursa (job #3230351) | Cod sursa (job #1502860) | Cod sursa (job #1456077) | Cod sursa (job #110329) | Borderou de evaluare (job #1851526)
Borderou de evaluare (job #1851526)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:13:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&h[i],&g[i]);
^
user.cpp:13:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("studenti.in","r",stdin);
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("studenti.out","w",stdout);
^
user.cpp:11:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:13:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&h[i],&g[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 268kb | Incorect | 0 | 0 |
| 2 | 0ms | 272kb | Incorect | 0 | 0 |
| 3 | 0ms | 276kb | OK | 10 | 10 |
| 4 | 0ms | 276kb | Incorect | 0 | 0 |
| 5 | 12ms | 272kb | Incorect | 0 |
| 6 | 0ms | 276kb | Incorect | 0 |
| 8 | 104ms | 272kb | OK | 10 |
| 7 | 0ms | 276kb | Incorect | 0 | 0 |
| 9 | 204ms | 276kb | OK | 10 |
| 10 | 0ms | 276kb | Incorect | 0 | 0 |
| Punctaj total | 10 |