Pagini recente » Cod sursa (job #1967281) | Borderou de evaluare (job #1034737) | Borderou de evaluare (job #1277083) | Borderou de evaluare (job #352891) | Borderou de evaluare (job #2221826)
Borderou de evaluare (job #2221826)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.in", "r", stdin);
^
user.cpp:47:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.out", "w", stdout);
^
user.cpp:49:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &length, &operations);
^
user.cpp:53:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
user.cpp:60:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &task);
^
user.cpp:64:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
case 0: scanf("%d %d", &a, &b);
^
user.cpp:68:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
case 1: scanf("%d %d", &a, &b);
^
user.cpp:72:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
case 2: scanf("%d", &a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 804kb | OK | 10 |
2 | 0ms | 760kb | OK | 10 |
3 | 8ms | 756kb | OK | 10 |
4 | 32ms | 796kb | OK | 10 |
5 | 72ms | 936kb | OK | 10 |
6 | 116ms | 908kb | OK | 10 |
7 | 128ms | 988kb | OK | 10 |
8 | 176ms | 1040kb | OK | 10 |
9 | 180ms | 1044kb | OK | 10 |
10 | 176ms | 1040kb | OK | 10 |
Punctaj total | 100 |