Pagini recente » Profil Sabjay | Borderou de evaluare (job #1828568) | Borderou de evaluare (job #1624758) | Borderou de evaluare (job #178830) | Borderou de evaluare (job #1761300)
Borderou de evaluare (job #1761300)
Raport evaluator
Compilare:
user.cpp: In function ‘void ProcessQueries()’:
user.cpp:81:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &queryType);
^
user.cpp:85:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &value);
^
user.cpp:92: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:108: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:109: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:111: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:115: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 | 96ms | 792kb | OK | 10 |
| 7 | 104ms | 792kb | OK | 10 |
| 8 | 148ms | 792kb | OK | 10 |
| 9 | 148ms | 792kb | OK | 10 |
| 10 | 148ms | 792kb | OK | 10 |
| Punctaj total | 100 |