Pagini recente » Cod sursa (job #1446241) | Borderou de evaluare (job #1727540)
Borderou de evaluare (job #1727540)
Raport evaluator
Compilare:
user.cpp: In function ‘void Brute(int, int)’:
user.cpp:141:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", v + i);
^
user.cpp:144:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int opType; scanf("%d", &opType);
^
user.cpp:147:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &poz, &key);
^
user.cpp:153:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &poz);
^
user.cpp: In function ‘int main()’:
user.cpp:178:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rotatii.in", "r", stdin);
^
user.cpp:179:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rotatii.out", "w", stdout);
^
user.cpp:184:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:192:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int x; scanf("%d", &x);
^
user.cpp:198:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int opType; scanf("%d", &opType);
^
user.cpp:201:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &poz, &key);
^
user.cpp:205:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &poz);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 7308kb | OK | 10 |
2 | 84ms | 7324kb | OK | 10 |
3 | 132ms | 7324kb | OK | 10 |
4 | 116ms | 7316kb | OK | 10 |
5 | 400ms | 7324kb | OK | 10 |
6 | 56ms | 7312kb | OK | 10 |
7 | 124ms | 7320kb | OK | 10 |
8 | 108ms | 7320kb | OK | 10 |
9 | 428ms | 7320kb | OK | 10 |
10 | 376ms | 7316kb | OK | 10 |
Punctaj total | 100 |