Pagini recente » Borderou de evaluare (job #1061004) | Borderou de evaluare (job #2344992) | Borderou de evaluare (job #2529984) | Borderou de evaluare (job #1809075) | Borderou de evaluare (job #1853513)
Borderou de evaluare (job #1853513)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:33: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%hd%hd", &a[i], &s[i]);
^
user.cpp:14:33: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("agitatie.in", "r", stdin);
^
user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("agitatie.out", "w", stdout);
^
user.cpp:12:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:14:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd", &a[i], &s[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 300kb | OK | 10 |
3 | 4ms | 296kb | Incorect | 0 |
4 | 4ms | 300kb | OK | 10 |
5 | 4ms | 300kb | Incorect | 0 |
6 | 36ms | 312kb | Incorect | 0 |
7 | 44ms | 312kb | Incorect | 0 |
8 | 44ms | 312kb | Incorect | 0 |
9 | 44ms | 308kb | Incorect | 0 |
10 | 44ms | 316kb | Incorect | 0 |
Punctaj total | 30 |