Pagini recente » Borderou de evaluare (job #597546) | Borderou de evaluare (job #909859) | Borderou de evaluare (job #1669133) | Borderou de evaluare (job #650157) | Borderou de evaluare (job #1761513)
Borderou de evaluare (job #1761513)
Raport evaluator
Compilare:
user.cpp: In function ‘void ProcessQueries()’:
user.cpp:76:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &queryType);
^
user.cpp:80:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &value);
^
user.cpp:87:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &aux1, &aux2);
^
user.cpp: In function ‘int main()’:
user.cpp:103:32: 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:104:34: 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:106:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &numberOfItems, &numberOfQueris);
^
user.cpp:110:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &items[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 792kb | OK | 10 |
2 | 0ms | 792kb | OK | 10 |
3 | 8ms | 792kb | OK | 10 |
4 | 28ms | 792kb | OK | 10 |
5 | 64ms | 792kb | OK | 10 |
6 | 92ms | 792kb | OK | 10 |
7 | 104ms | 792kb | OK | 10 |
8 | 144ms | 792kb | OK | 10 |
9 | 148ms | 792kb | OK | 10 |
10 | 144ms | 792kb | OK | 10 |
Punctaj total | 100 |