Pagini recente » Cod sursa (job #2787048) | Rezultatele filtrării | Rezultatele filtrării | Diferente pentru utilizator/usureluflorian intre reviziile 158 si 211 | Borderou de evaluare (job #1204527)
Borderou de evaluare (job #1204527)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:35: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[25]’ [-Wformat=]
fscanf(f,"%s",&s);
^
user.cpp:23:29: warning: NULL used in arithmetic [-Wpointer-arith]
if (s[0]==NULL) {ok=false;break;}
^
user.cpp:27:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i<strlen(s)) {lit=s[i]-'a';
^
user.cpp:40:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i<strlen(s)) {lit=s[i]-'a';
^
user.cpp:53:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i<strlen(s)) {lit=s[i]-'a';
^
user.cpp:67:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i<strlen(s)) {lit=s[i]-'a';
^
user.cpp:18:8: warning: unused variable ‘j’ [-Wunused-variable]
{int i,j,op,lit;
^
user.cpp:20:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
while (ok==true) {fscanf(f,"%d",&op);
^
user.cpp:22:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 252kb | Incorect | 0 | 0 |
2 | 0ms | 260kb | Incorect | 0 | 0 |
3 | 0ms | 272kb | Incorect | 0 | 0 |
4 | 0ms | 260kb | Incorect | 0 | 0 |
5 | 0ms | 256kb | Incorect | 0 | 0 |
6 | 0ms | 268kb | Incorect | 0 | 0 |
7 | 4ms | 284kb | Incorect | 0 | 0 |
8 | 4ms | 288kb | Incorect | 0 | 0 |
9 | 8ms | 424kb | Incorect | 0 | 0 |
10 | 16ms | 920kb | Incorect | 0 | 0 |
11 | 20ms | 324kb | Incorect | 0 | 0 |
12 | 32ms | 1636kb | Incorect | 0 | 0 |
13 | 40ms | 1380kb | Incorect | 0 | 0 |
14 | 40ms | 532kb | Incorect | 0 | 0 |
15 | 48ms | 508kb | Incorect | 0 | 0 |
16 | 96ms | 10772kb | Incorect | 0 |
17 | 60ms | 280kb | Incorect | 0 | 0 |
18 | 100ms | 8128kb | Incorect | 0 |
19 | 60ms | 292kb | Incorect | 0 | 0 |
20 | 112ms | 13620kb | Incorect | 0 |
Punctaj total | 0 |