Pagini recente » Cod sursa (job #239019) | Borderou de evaluare (job #3162506) | Cod sursa (job #2467215) | Borderou de evaluare (job #1538277) | Borderou de evaluare (job #1493003)
Borderou de evaluare (job #1493003)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(nr[b[i]-'a']>= z[b[i]-'a'].size() ) {printf("-1\n");return 0;}
^
user.cpp:26:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.in","r",stdin);
^
user.cpp:27:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.out","w",stdout);
^
user.cpp:29:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a);
^
user.cpp:30:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b);
^
/tmp/cccTgcgs.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 252kb | OK | 10 |
| 2 | 0ms | 232kb | OK | 10 |
| 3 | 0ms | 300kb | OK | 10 |
| 4 | 0ms | 300kb | OK | 10 |
| 5 | 0ms | 712kb | OK | 10 |
| 6 | 12ms | 1012kb | OK | 10 |
| 7 | 8ms | 932kb | OK | 10 |
| 8 | Depăşit | 1004kb | Time limit exceeded. | 0 |
| 9 | 12ms | 968kb | OK | 10 |
| 10 | Depăşit | 940kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |