Pagini recente » Cod sursa (job #843344) | Cod sursa (job #843489) | Cod sursa (job #627238) | Cod sursa (job #1781875) | Borderou de evaluare (job #1814439)
Borderou de evaluare (job #1814439)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:75:56: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if (viz[i]!=0 && viz[i]!=i) printf("%d ",viz[i]);
^
user.cpp: In function ‘void citire(int&)’:
user.cpp:16:105: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
while(buff[pos] < '0' || buff[pos] > '9') if(++pos == 290000) fread(buff, 1, 290000, stdin), pos = 0;
^
user.cpp:21:67: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++pos == 290000) fread(buff, 1, 290000, stdin), pos = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:52:34: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, 290000, stdin);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1104kb | OK | 10 |
| 2 | 0ms | 1256kb | OK | 10 |
| 3 | 4ms | 1580kb | OK | 10 |
| 4 | 0ms | 1088kb | OK | 10 |
| 5 | 24ms | 2108kb | OK | 10 |
| 6 | 44ms | 2900kb | OK | 10 |
| 7 | 4ms | 1356kb | OK | 10 |
| 8 | 12ms | 1580kb | OK | 10 |
| 9 | 40ms | 2636kb | OK | 10 |
| 10 | 100ms | 4184kb | OK | 10 |
| Punctaj total | 100 |