Pagini recente » Borderou de evaluare (job #2134869) | Borderou de evaluare (job #894983) | Borderou de evaluare (job #590743) | Borderou de evaluare (job #923550) | Borderou de evaluare (job #1797574)
Borderou de evaluare (job #1797574)
Raport evaluator
Compilare:
user.cpp: In function ‘int getNr()’:
user.cpp:31:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pozitie == strlen(buffer))
^
user.cpp:40:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pozitie == strlen(buffer))
^
user.cpp: In function ‘int main(int, const char**)’:
user.cpp:88:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(poz == d.size())
^
user.cpp:96:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < d.size(); ++i)
^
user.cpp:106:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < d.size(); ++i)
^
user.cpp: In function ‘void citire()’:
user.cpp:22:32: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buffer, 50000, stdin);
^
user.cpp: In function ‘int main(int, const char**)’:
user.cpp:50:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp.in", "r", stdin);
^
user.cpp:51:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp.out", "w", stdout);
^
user.cpp:55:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %d ", &m, &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 464kb | Time limit exceeded. | 0 |
2 | Depăşit | 460kb | Time limit exceeded. | 0 |
3 | 0ms | 448kb | OK | 10 |
4 | 0ms | 456kb | OK | 10 |
5 | 0ms | 448kb | OK | 10 |
6 | 0ms | 452kb | OK | 10 |
7 | 0ms | 456kb | OK | 10 |
8 | 8ms | 460kb | OK | 10 |
9 | 40ms | 460kb | OK | 10 |
10 | 0ms | 452kb | OK | 10 |
Punctaj total | 80 |