Pagini recente » Borderou de evaluare (job #513930) | Borderou de evaluare (job #2142117) | Borderou de evaluare (job #1359876) | Borderou de evaluare (job #1316990) | Borderou de evaluare (job #2069503)
Borderou de evaluare (job #2069503)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:12: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
st[++k]=NULL;
^
user.cpp:5:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("trompeta.in","r",stdin);
^
user.cpp:6:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("trompeta.out","w",stdout);
^
user.cpp:8:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d\n",&n,&m);
^
user.cpp:9:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (s);
^
/tmp/ccF4c0YG.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 276kb | OK | 10 |
5 | 0ms | 280kb | OK | 10 |
6 | 0ms | 412kb | OK | 10 |
7 | 0ms | 388kb | OK | 10 |
8 | 16ms | 1780kb | OK | 10 |
9 | 16ms | 2164kb | OK | 10 |
10 | 16ms | 1844kb | OK | 10 |
Punctaj total | 100 |