Pagini recente » Borderou de evaluare (job #219735) | Cod sursa (job #1144599) | Borderou de evaluare (job #628039) | Borderou de evaluare (job #1108409) | Borderou de evaluare (job #1813423)
Borderou de evaluare (job #1813423)
Raport evaluator
Compilare:
user.cpp: In function ‘void finds(int, int)’:
user.cpp:24:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int idx=0;idx<v[key].size();idx++)
^
user.cpp: In function ‘int main()’:
user.cpp:45:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ograzi.in","r",stdin);
^
user.cpp:47:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
user.cpp:52:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
user.cpp:61:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
/tmp/ccHnC89b.o: In function `main':
user.cpp:(.text.startup+0x66): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 724kb | OK | 10 |
2 | 76ms | 1864kb | OK | 10 |
3 | 28ms | 1840kb | OK | 10 |
4 | 96ms | 1840kb | OK | 10 |
5 | 76ms | 1884kb | OK | 10 |
6 | 4ms | 904kb | Killed by signal 6(SIGABRT). | 0 |
7 | 4ms | 904kb | Killed by signal 6(SIGABRT). | 0 |
8 | 24ms | 1376kb | OK | 10 |
9 | 0ms | 720kb | OK | 10 |
10 | 4ms | 908kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 70 |