Pagini recente » Cod sursa (job #572305) | Borderou de evaluare (job #1950743) | Borderou de evaluare (job #2382342) | Borderou de evaluare (job #2034363) | Borderou de evaluare (job #2349756)
Borderou de evaluare (job #2349756)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:28:24: warning: unused variable 'j1' [-Wunused-variable]
int n, c, i, a, j, j1, s1, s = 0;
^~
main.cpp:28:28: warning: unused variable 's1' [-Wunused-variable]
int n, c, i, a, j, j1, s1, s = 0;
^~
main.cpp:28:32: warning: unused variable 's' [-Wunused-variable]
int n, c, i, a, j, j1, s1, s = 0;
^
main.cpp:26:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("adlic.in", "r", stdin);
^
main.cpp:27:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("adlic.out", "w", stdout);
^
main.cpp:30:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &c, &n);
^
main.cpp:32:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
main.cpp:37:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | Incorect | 0 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 3ms | 131kb | OK | 10 |
| 6 | 17ms | 262kb | OK | 10 |
| 7 | 60ms | 524kb | Wall time limit exceeded | 0 |
| 8 | 63ms | 524kb | Wall time limit exceeded | 0 |
| 9 | 50ms | 524kb | Wall time limit exceeded | 0 |
| 10 | 37ms | 524kb | Wall time limit exceeded | 0 |
| Punctaj total | 50 |