Pagini recente » Cod sursa (job #2804259) | Cod sursa (job #93897) | Cod sursa (job #51623) | Cod sursa (job #1562801) | Borderou de evaluare (job #2054281)
Borderou de evaluare (job #2054281)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:24:25: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lld",ct);
^
user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dk.in", "r", stdin);
^
user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dk.out", "w", stdout);
^
user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:21:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 268kb | Incorect | 0 | 0 |
| 2 | 0ms | 268kb | OK | 10 | 10 |
| 3 | 448ms | 268kb | Incorect | 0 | 0 |
| 4 | 180ms | 268kb | Incorect | 0 | 0 |
| 5 | 176ms | 268kb | OK | 10 | 10 |
| 6 | 372ms | 272kb | Incorect | 0 | 0 |
| 7 | 776ms | 268kb | OK | 10 | 0 |
| 8 | 536ms | 268kb | Incorect | 0 |
| 9 | 720ms | 268kb | Incorect | 0 |
| 10 | 812ms | 268kb | Incorect | 0 | 0 |
| Punctaj total | 20 |