Pagini recente » Borderou de evaluare (job #1289584) | Borderou de evaluare (job #1906057) | Borderou de evaluare (job #1111705) | Borderou de evaluare (job #647370) | Borderou de evaluare (job #1594783)
Borderou de evaluare (job #1594783)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:66:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;(int)i<sol.size();i++) printf("%d ",sol[i]);
^
user.cpp:31:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rezervatie.in","r",stdin);
^
user.cpp:32:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rezervatie.out","w",stdout);
^
user.cpp:34:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&n,&m);
^
user.cpp:35:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:37:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nr);
^
user.cpp:40:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y); h[x][y]=i;
^
/tmp/ccdUfVIA.o: In function `main':
user.cpp:(.text.startup+0x77): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 304kb | OK | 10 |
3 | 0ms | 312kb | OK | 10 |
4 | 0ms | 296kb | OK | 10 |
5 | 0ms | Depăşit | Memory limit exceeded. | 0 |
6 | 0ms | Depăşit | Memory limit exceeded. | 0 |
7 | 0ms | Depăşit | Memory limit exceeded. | 0 |
8 | 4ms | Depăşit | Memory limit exceeded. | 0 |
9 | 0ms | 332kb | OK | 10 |
10 | 0ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 50 |